package com.hu.zhcc.shiro.dao;


import com.hu.zhcc.shiro.entity.bo.MedicalExaminationReport;
import com.hu.zhcc.shiro.entity.bo.MedicalExaminationReport;
import com.hu.zhcc.shiro.entity.bo.Member;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MedicalExaminationReportDAO {
    //根据id删除实体
    int deleteByPrimaryKey(Integer id);

    int insert(MedicalExaminationReport record);

    int insertSelective(MedicalExaminationReport record);

    //根据id获取实体
    MedicalExaminationReport selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MedicalExaminationReport record);

    int updateByPrimaryKey(MedicalExaminationReport record);
    String tc(Integer id);
    //获取所有实体的List 模糊查询
    List<MedicalExaminationReport> listAllMedicalExaminationReport(@Param("name") String name);
    //根据手机号获取实体
    List<MedicalExaminationReport> findAllMedicalExaminationReportByPhoneNumber(String phone);

}